<?php defined('IN_YuLin') || exit('NO PERMIT!'); ?>
{template member/header}

	<script>
		var totalDeductionRebate = 0.00;
		var totalDeductionAdmincharge = 0.00;
    </script>
	<input type="hidden" id="hdErrMsg" />
	<div class="main-head">
		<span>用户中心 &gt; 提现</span>
	</div>
	<div class="con_box">
		<div class="memcon_wrap">
            <div class="memCon" style="">
                <!-- 申请提款 2.0 -->
                <div class="ext-item">
                    <div class="top">
                        <span>
                            可提款金额（元）
                            <strong id="balanceLb"></strong>
                        </span>
                        <span>
                            手续费（元）<strong id="deduction">0.00</strong>
                        </span>
                    </div>
                    <div class="con clear">
                        <dl class="clear">
                            <dt>提款银行卡</dt>
                            <dd id="bankCardList">
								{_ $j = 0;}
								{loop $banks as $key => $val}
								<a href="javascript: ;" class="bank-box{if !$j++} on{/if}" data-id="{$val['id']}">
									<span class="ext-bank bank_{$combanks[$val['bank']]}"></span>
									<strong>{$val['truename']}</strong>
									<label>{substr($val['bankcard'],0,4)}******{substr($val['bankcard'],-4)}</label>
									<i></i>
								</a>
								{/loop}
                            </dd>
                        </dl>
                        <dl class="clear">
                            <dt>提款金额</dt>
                            <dd>
                                <input id="aumount" class="ban-inp" type="text" />
								<label>单次提现金额<label id="encashmentmin">100</label><b>~</b><label id="encashmentmax">5000000</label>元</label>
                            </dd>
                        </dl>
                        <dl class="clear">
                            <dt>取款密码</dt>
                            <dd>
                                <input id="pwd" class="ban-inp" type="password" />
                            </dd>
                        </dl>
                        <dl class="clear">
                            <dt>&nbsp;</dt>
                            <dd>
                                <a class="ban-btn" id="button" href="javascript: ;">提交申请</a>
                                <a class="ban-btn" href="{U('member/cash/log')}">查看提款进度</a>
                                <!--<a class="ban-btn" href="{U('member/cash/flow')}">查看流水</a>-->
                            </dd>
                        </dl>
                    </div>
                    <div class="ext-text">
                        <h4>提款需完成充值金额的<b>100%</b>基础流水，否则会收取您的手续费</h4>
                        <table cellpadding="0" cellspacing="0" border="0">
                            <tr>
                                <td>账户总余额</td>
                                <td><p id="totalBanlance"></p></td>
                                <td>提现时间</td>
                                <td><p>24小时</p></td>
                            </tr>
                            <tr>
                                <td>每日免手续费次数</td>
                                <td><p>100次</p></td>
                                <td>每日限制次数</td>
                                <td><p>88888次</p></td>
                            </tr>
                            <tr>
                                <td>当日最大出款金额</td>
                                <td>
									<p>1000000.00元</p>
                                </td>
                                <td>今日已提次数</td>
                                <td><p>0次</p></td>
                            </tr>
                            
                            <tr>
                                <td>手续费说明</td>
                                <td colspan="3">
                                    <p class="p2">
										<span>0.00元</span>
                                    </p>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
            </div>
        </div>
	</div>
	
	<script src="static/js/User.cash.js"></script>
    <script type="text/javascript">
		(function ($, W) {
			Withdrawal.init();
		})(jQuery, window);
    </script>

    <div id="SEARCH-TIP" style="display:none;">
        <div class="mask"></div>
        <div class="popup tips-popup">
            <div class="popup-head">
                <span>提示</span>
            </div>
            <div class="popup-body">
                <p>查询中,请您耐心等待.....</p>
            </div>
        </div>
    </div>

{template member/footer}